<template>
  <a-modal
      centered
      width="60%"
      :visible="normalLotsModalVisible"
      title="normalLotsModal"
      @cancel="modalCancel"
  >
    <LotImg :lotId="clickLotId"></LotImg>
    <template  slot="footer">
      <a-button @click="modalConfirm">{{ $t('menuItem.confirm') }}</a-button>
    </template>

<!--    <a-table></a-table>-->

  </a-modal>
</template>

<script>
import {mapMutations, mapState} from "vuex";
import LotImg from "@/components/LotImg.vue";

export default {
name: "NormalLotsModal",
  components: {LotImg},
  data() {
    return {

      labelCol: {span: 7},
      wrapperCol: {span: 16},
      windowHeight: document.documentElement.clientHeight,   //实时屏幕高度
    }
  },
  computed: {
    ...mapState('JsNormalLots', ['queryForm', 'typeList', 'dataSource', 'loadTable', 'waferDataSource', 'normalLotsModalVisible','clickLotId']),
  },
  methods: {
    ...mapMutations('JsNormalLots', ['queryLot','', 'clickCell', 'cleanAll', 'modalConfirm', 'modalCancel',]),

  },

}

</script>

<style scoped>

</style>